Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1DynamicList<T> Class / FindIndex Method
The zero-based starting index of the search.
The number of elements in the section to search.
The System.Predicate`1 delegate that defines the conditions of the element to search for.

In This Topic
    FindIndex Method
    In This Topic
    Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the System.Collections.Generic.List`1 that starts at the specified index and contains the specified number of elements.
    Syntax
    'Declaration
     
    
    Public Function FindIndex( _
       ByVal startIndex As Integer, _
       ByVal count As Integer, _
       ByVal match As Predicate(Of T) _
    ) As Integer
    public int FindIndex( 
       int startIndex,
       int count,
       Predicate<T> match
    )

    Parameters

    startIndex
    The zero-based starting index of the search.
    count
    The number of elements in the section to search.
    match
    The System.Predicate`1 delegate that defines the conditions of the element to search for.
    See Also